package com.yuba.front.domain;

import com.yuba.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 钓场评论对象 fish_site_comments
 *
 * @author modakai
 * @date 2024-12-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("fish_site_comments")
public class FishSiteComments extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "comments_id", type = IdType.AUTO)
    private Long commentsId;

    /**
     * 关联钓场id
     */
    private Long fishSiteId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 评论内容
     */
    private String comment;

    /**
     * 评分
     */
    private Long rating;


}
